package com.cd.javacxy.module.web.service.impl;

import com.cd.javacxy.common.model.entity.CxyShuoshuoComment;
import com.cd.javacxy.module.web.dao.CxyShuoshuoCommentDao;
import com.cd.javacxy.module.web.service.CxyShuoshuoCommentService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * CxyShuoshuoComment的服务接口的实现类
 *
 * @author yanghy
 */
@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class CxyShuoshuoCommentServiceImpl implements CxyShuoshuoCommentService {

    private final CxyShuoshuoCommentDao cxyShuoshuoCommentDao;

    @Override
    public int insert(CxyShuoshuoComment shuoShuoComment) {
        return cxyShuoshuoCommentDao.insert(shuoShuoComment);
    }
}